const key = 'ydd-vant-mobile-token'

export const setToken = (newToken) => {
  localStorage.setItem(key, newToken)
}

export const getToken = () => {
  return localStorage.getItem(key)
}

export const delToken = () => {
  localStorage.removeItem(key)
}